package com.gxa.accommodation.service;

import com.gxa.accommodation.entity.Accommodation;
import com.gxa.common.base.RespResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface AccommodationService {


    RespResult addAccommodation(Accommodation accommodation);

    RespResult uploadaddAccommodationImg(MultipartFile file, Long id, HttpServletRequest request);

    RespResult findAccommodation(Integer currentPage,Integer pageSize);
}
